<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>双向链表</title>
</head>
<body>
    <script>
        //封装双向链表
        function DoubleLinkedList(){
            // 内部类
            function Node(){
                this.data = data;
                this.prev = null;
                this.next = null;
            }
            // 属性
            this.head = null;
            this.tail = null;
            this.length = 0;

            // 方法
            
        }
    </script>
    
</body>
</html>